<?php
declare (strict_types = 1);

namespace app\api\model\yuql;

use think\Model;

/**
 * @mixin \think\Model
 */
class Alipay extends Model
{

    /**
     * yuql
     * 根据 order_id查询订单
     * @param $data
     * @return Order|array|mixed|Model|null
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\DbException
     * @throws \think\db\exception\ModelNotFoundException
     */
    public static function goodsOrderOne($data){
        $result = Order::where($data)->find();
        return $result;
    }

}
